//
//  WebControl.m
//  iCodeMac
//
//  Created by Andrew Barry on 14/05/09.
//  Copyright 2009 Barry Computer Services. All rights reserved.
//

#import "WebControl.h"
#import "WebKit/WebView.h"
#import "CanvasView.h"

@implementation WebControl
-(NSView *) load: (NSDictionary *) defn withFrame: (NSRect) frame {
	/*
	 NSString *caption = [defn objectForKey:@"caption"];
	 if (!caption)
	 caption = @"box";
	 */
	return [[CanvasView alloc] initWithFrame:frame];
//	WebView *vw = [[WebView alloc] initWithFrame:frame frameName:nil groupName:nil];
//	return vw;
}

@end
